package com.woniuxy.school.dietary.Dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

@Data
@ApiModel(description = "自定义分页信息模型对象")
public class PageInfoDto {
    @ApiModelProperty(value = "当前页码")
    private Long pageNum;
    @ApiModelProperty(value = "每页显示条数")
    private Long pageSize;
    @ApiModelProperty(value = "总记录数")
    private Long total;
    @ApiModelProperty(value = "总页数")
    private Long pages;
    @ApiModelProperty(value = "结果集")
    private List<?> list;
}
